package cn.edu.zafu.bigdata.x.wupeng.d;

public class TestAbstract {
    public static void main(String[] args) {
        Animal a = new Cat();
        a.eat();
        Animal b = new Dog();
        b.eat();
        Dog d = new Dog();
        d.makeSound();
    }
}
